package com.zmx.b2c.stock.dto;

import com.zmx.common.common.dto.BaseDto;
import lombok.Data;
import lombok.ToString;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * @author zhaomxr
 * null
 */
@Data
@ToString
public class ProductStockDto extends BaseDto {

	private static final long serialVersionUID = -116092052209421277L;
	/**
	 * 商品id
	 */
	private Long productId;

	/**
	 * 商品总库存
	 */
	private Integer stock;

	/**
	 * 订单占用库存
	 */
	private Integer orderOccupy;

	/**
	 * 剩余库存
	 */
	private Integer availableStock;
}
